<?php include 'header.php' ?>
    <div id="dialog" title="Xác nhận">
        <p> Bạn chắc chắn muốn xóa?</p>
        <button onclick="deleteAccount();">Có</button>
        <button onclick="closeDialog()">Không</button>
    </div>

    <article>
        <div class="clear"/>

        <section class="list-content">
            <header>
                <div class="giohang">Quản lý tài khoản</div>
            </header>
            <div id="account_form">
                <p id="message"></p>

                <form id="accountForm">
                    <input type="hidden" id="id_acc">
                    <table>
                        <tr>
                            <td><label for="username">Tài khoản: </label></td>
                            <td><input type="text" id="username" name="username" maxlength="50"
                                       placeholder="nhập tên tài khoản" required="true" autofocus="true"></td>
                        </tr>
                        <tr>
                            <td><label for="password">Mật khẩu: </label></td>
                            <td><input type="password" id="password" name="password" maxlength="50"
                                       placeholder="nhập mật khẩu" required="true"></td>
                        </tr>
                        <tr>
                            <td></td>
                            <td><input type="submit" value="Lưu lại" onclick="createAccount();return false;"
                            </td>
                        </tr>
                    </table>
                </form>
            </div>
        </section>
        <section class="list-content">
            <div id="account_list">
            </div>
            <div class="clear"/>
        </section>

        <div class="clear"/>
    </article>

<?php include 'footer.php' ?>